
point_and_string.o:     file format elf64-littleaarch64


Disassembly of section .text:

0000000000000000 <main>:
#include <stdio.h>
#include <string.h>

int main()
{
   0:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
   4:	910003fd 	mov	x29, sp
	char *mesg = "Don't be a fool!";
   8:	90000000 	adrp	x0, 0 <main>
   c:	91000000 	add	x0, x0, #0x0
  10:	f9000fa0 	str	x0, [x29, #24]
	char *copy;

	copy = mesg;
  14:	f9400fa0 	ldr	x0, [x29, #24]
  18:	f9000ba0 	str	x0, [x29, #16]

	printf("%s\n", copy);
  1c:	f9400ba0 	ldr	x0, [x29, #16]
  20:	94000000 	bl	0 <puts>
	printf("mesg = %s : &mesg = %p : value = %p\n", mesg, &mesg, mesg);
  24:	f9400fa1 	ldr	x1, [x29, #24]
  28:	f9400fa3 	ldr	x3, [x29, #24]
  2c:	910063a2 	add	x2, x29, #0x18
  30:	90000000 	adrp	x0, 0 <main>
  34:	91000000 	add	x0, x0, #0x0
  38:	94000000 	bl	0 <printf>
	printf("copy = %s : &copy = %p : value = %p\n", copy, &copy, copy);
  3c:	f9400ba1 	ldr	x1, [x29, #16]
  40:	f9400ba3 	ldr	x3, [x29, #16]
  44:	910043a2 	add	x2, x29, #0x10
  48:	90000000 	adrp	x0, 0 <main>
  4c:	91000000 	add	x0, x0, #0x0
  50:	94000000 	bl	0 <printf>
	printf("sizeof(mesg) = %d : strlen(mesg) : %ld\n", sizeof(mesg), strlen(mesg));
  54:	f9400fa0 	ldr	x0, [x29, #24]
  58:	94000000 	bl	0 <strlen>
  5c:	aa0003e1 	mov	x1, x0
  60:	90000000 	adrp	x0, 0 <main>
  64:	91000000 	add	x0, x0, #0x0
  68:	aa0103e2 	mov	x2, x1
  6c:	d2800101 	mov	x1, #0x8                   	// #8
  70:	94000000 	bl	0 <printf>
	
	

	return 0;
  74:	52800000 	mov	w0, #0x0                   	// #0
}
  78:	a8c27bfd 	ldp	x29, x30, [sp], #32
  7c:	d65f03c0 	ret
